package com.mysiteforme.admin.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.mysiteforme.admin.base.DataEntity;

import java.util.Date;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author wangl
 * @since 2019-09-18
 */
@TableName("electricity_user")
public class ElectricityUser extends DataEntity<ElectricityUser> {

    private static final long serialVersionUID = 1L;

	@TableField(exist=false)
	private String userId;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

    /**
     * 昵称
     */
	@TableField("user_name")
	private String userName;
    /**
     * 手机号
     */
	private String phone;
    /**
     * 销售编码
     */
	@TableField("sale_man_code")
	private String saleManCode;
    /**
     * 密码
     */
	private String password;
    /**
     * 删除标记
     */
    @TableField("del_flag")
    private Integer delFlag;
    /**
     * 审核是否通过
     */
	@TableField(exist=false)
	private String isCheck;
    /**
     * 注册类型
     */
	@TableField("register_type")
	private String registerType;
    /**
     * 头像
     */
	private String img;
    /**
     * 身份证号
     */
	@TableField("id_card")
	private String idCard;
    /**
     * 是否是否完善信息
     */
	@TableField("is_perfect_info")
	private String isPerfectInfo;
	/**
	 * 拒绝理由
	 */
    @TableField(exist=false)
	private String refuseMsg;

	/**
	 * 成员类型
	 */
	@TableField(exist=false)
	private String memberType;
	/**
	 * 企业名称
	 */
	@TableField(exist=false)
	private String companyName;
	/**
	 * 企业性质
	 */
	@TableField(exist=false)
	private String businessProperty;
	/**
	 * 发电类型
	 */
	@TableField(exist=false)
	private String PowerGenerationType;
	/**
	 * 装机容量
	 */
	@TableField(exist=false)
	private String installedCapacity;
	/**
	 * 上年度上网电量
	 */
	@TableField(exist=false)
	private String internetPowerLastYear;
	/**
	 * 注册资本金
	 */
	@TableField(exist=false)
	private String registerCapital;
	/**
	 * 是否拥有配电网
	 */
	@TableField(exist=false)
	private String isHaveNetwork;
	/**
	 * 用户类型
	 */
	@TableField(exist=false)
	private String userType;
	/**
	 * 用户电压等级
	 */
	@TableField(exist=false)
	private String userVoltageGrade;
	/**
	 * 是否园区用户
	 */
	@TableField(exist=false)
	private String isCampusUser;
	/**
	 * 上年用电量
	 */
	@TableField(exist=false)
	private String energyUsedLastYear;
	/**
	 * 信用等级
	 */
	@TableField(exist=false)
	private String creditGrade;
	/**
	 * 社会统一信用代码
	 */
	@TableField(exist=false)
	private String creditCode;
	/**
	 * 营业执照
	 */
	@TableField(exist=false)
	private String businessLicense;
	/**
	 * 省份
	 */
	@TableField(exist=false)
	private String businessProvince;
	/**
	 * 市区
	 */
	@TableField(exist=false)
	private String businessCity;
	/**
	 * 区县
	 */
	@TableField(exist=false)
	private String businessCountry;
	/**
	 * 地址详细信息
	 */
	@TableField(exist=false)
	private String businessDetail;
	/**
	 * 经办人
	 */
	@TableField(exist=false)
	private String managerName;
	/**
	 * 经办人电话
	 */
	@TableField(exist=false)
	private String managerPhone;
	/**
	 * 是否拉黑
	 */
	@TableField(exist=false)
	private String isDelete;

	/**
	 * unionid
	 */
	private String unionid;
	/**
	 * openid
	 */
	private String openid;
	/**
	 * 完善日期
	 */
	@TableField(exist=false)
	private Date perfectDate;
	/**
	 * 到期时间
	 */
    @TableField(exist=false)
    private Date dueDate;

	public Date getPerfectDate() {
		return perfectDate;
	}

	public void setPerfectDate(Date perfectDate) {
		this.perfectDate = perfectDate;
	}

	public void setManagerPhone(String managerPhone) {
        this.managerPhone = managerPhone;
    }

    public String getMemberType() {
		return memberType;
	}

	public void setMemberType(String memberType) {
		this.memberType = memberType;
	}
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getBusinessProperty() {
		return businessProperty;
	}

	public void setBusinessProperty(String businessProperty) {
		this.businessProperty = businessProperty;
	}
	public String getPowerGenerationType() {
		return PowerGenerationType;
	}

	public void setPowerGenerationType(String PowerGenerationType) {
		this.PowerGenerationType = PowerGenerationType;
	}
	public String getInstalledCapacity() {
		return installedCapacity;
	}

	public void setInstalledCapacity(String installedCapacity) {
		this.installedCapacity = installedCapacity;
	}
	public String getInternetPowerLastYear() {
		return internetPowerLastYear;
	}

	public void setInternetPowerLastYear(String internetPowerLastYear) {
		this.internetPowerLastYear = internetPowerLastYear;
	}
	public String getRegisterCapital() {
		return registerCapital;
	}

	public void setRegisterCapital(String registerCapital) {
		this.registerCapital = registerCapital;
	}
	public String getIsHaveNetwork() {
		return isHaveNetwork;
	}

	public void setIsHaveNetwork(String isHaveNetwork) {
		this.isHaveNetwork = isHaveNetwork;
	}
	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}
	public String getUserVoltageGrade() {
		return userVoltageGrade;
	}

	public void setUserVoltageGrade(String userVoltageGrade) {
		this.userVoltageGrade = userVoltageGrade;
	}
	public String getIsCampusUser() {
		return isCampusUser;
	}

	public void setIsCampusUser(String isCampusUser) {
		this.isCampusUser = isCampusUser;
	}
	public String getEnergyUsedLastYear() {
		return energyUsedLastYear;
	}

	public void setEnergyUsedLastYear(String energyUsedLastYear) {
		this.energyUsedLastYear = energyUsedLastYear;
	}
	public String getCreditGrade() {
		return creditGrade;
	}

	public void setCreditGrade(String creditGrade) {
		this.creditGrade = creditGrade;
	}
	public String getCreditCode() {
		return creditCode;
	}

	public void setCreditCode(String creditCode) {
		this.creditCode = creditCode;
	}
	public String getBusinessLicense() {
		return businessLicense;
	}

	public void setBusinessLicense(String businessLicense) {
		this.businessLicense = businessLicense;
	}
	public String getBusinessProvince() {
		return businessProvince;
	}

	public void setBusinessProvince(String businessProvince) {
		this.businessProvince = businessProvince;
	}
	public String getBusinessCity() {
		return businessCity;
	}

	public void setBusinessCity(String businessCity) {
		this.businessCity = businessCity;
	}
	public String getBusinessCountry() {
		return businessCountry;
	}

	public void setBusinessCountry(String businessCountry) {
		this.businessCountry = businessCountry;
	}
	public String getBusinessDetail() {
		return businessDetail;
	}

	public void setBusinessDetail(String businessDetail) {
		this.businessDetail = businessDetail;
	}
	public String getManagerName() {
		return managerName;
	}

	public void setManagerName(String managerName) {
		this.managerName = managerName;
	}
	public String getManagerPhone() {
		return managerPhone;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getSaleManCode() {
		return saleManCode;
	}

	public void setSaleManCode(String saleManCode) {
		this.saleManCode = saleManCode;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getIsCheck() {
		return isCheck;
	}

	public void setIsCheck(String isCheck) {
		this.isCheck = isCheck;
	}
	public String getRegisterType() {
		return registerType;
	}

	public void setRegisterType(String registerType) {
		this.registerType = registerType;
	}
	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}
	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getIsPerfectInfo() {
		return isPerfectInfo;
	}

	public void setIsPerfectInfo(String isPerfectInfo) {
		this.isPerfectInfo = isPerfectInfo;
	}

	public String getRefuseMsg() {
		return refuseMsg;
	}

	public void setRefuseMsg(String refuseMsg) {
		this.refuseMsg = refuseMsg;
	}
	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public String getUnionid() {
		return unionid;
	}

	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}
	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public Date getDueDate() {
		return dueDate;
	}

	public void setDueDate(Date dueDate) {
		this.dueDate = dueDate;
	}

	@Override
	public String toString() {
		return "ElectricityUser{" +
			", userName=" + userName +
			", phone=" + phone +
			", saleManCode=" + saleManCode +
			", password=" + password +
			", isDelete=" + isDelete +
			", registerType=" + registerType +
			", img=" + img +
			", idCard=" + idCard +
			", isPerfectInfo=" + isPerfectInfo +
			", unionid=" + unionid +
			", openid=" + openid +
			", refuseMsg=" + refuseMsg +
				", memberType=" + memberType +
				", companyName=" + companyName +
				", businessProperty=" + businessProperty +
				", PowerGenerationType=" + PowerGenerationType +
				", installedCapacity=" + installedCapacity +
				", internetPowerLastYear=" + internetPowerLastYear +
				", registerCapital=" + registerCapital +
				", isHaveNetwork=" + isHaveNetwork +
				", userType=" + userType +
				", userVoltageGrade=" + userVoltageGrade +
				", isCampusUser=" + isCampusUser +
				", energyUsedLastYear=" + energyUsedLastYear +
				", creditGrade=" + creditGrade +
				", creditCode=" + creditCode +
				", businessLicense=" + businessLicense +
				", businessProvince=" + businessProvince +
				", businessCity=" + businessCity +
				", businessCountry=" + businessCountry +
				", businessDetail=" + businessDetail +
				", managerName=" + managerName +
				", managerPhone=" + managerPhone +
				", isCheck=" + isCheck +
				", perfectDate=" +perfectDate+
				", dueDate=" +dueDate+
			"}";
	}
}
